<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/include/TLDInclude.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>

<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/select-ui.min.js"></script>


<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});

function checkdata(){
	  if ($("#findvl").val() == '') {
		  alert("请输入值！");
		  return false;
	  }
	return true;
}
</script>

</head>


<body>


    
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="seachform">
      

 <form:form action="${ctx}/admin/visas" method="post" >
 
    
    
    
    <li>
    
    <div class="usercity">
    
    <div class="cityleft">
    <select class="select2" name="findtype">
    <option value="1">手机号</option>
    <option value="2">护照号</option>
    </select>
    </div>
    </div>
    </li>
    
 <li><input id="findvl" name="findvl" type="text"  class="scinput" /></li>
    
    
    <li><label>&nbsp;</label><input name="" type="submit" onclick="javascript:return checkdata()"  class="scbtn" value="查询"/></li>
    </form:form>
        </ul>
        
        
    
    </div>
   
   <c:if test="${not empty msg}">
			<div id="message" style="color: red;" align="center">
				${msg}
			</div>
</c:if>
   
     <ul>
     <li>护照号：${visaDataDto.visa.passportno}</li>
     <li>签证类型：${visaDataDto.visa.name}</li>
    <c:forEach items= "${visaDataDto.visaDatas}" var="visadata"  varStatus="status">
    <li><span class="time">${visadata.time}</span> <span class="info" style="color:#333333">${visadata.dataName}</span></li>
        
    </c:forEach>
    </ul>
   
    
    
    </div>
    
   
</body>

</html>
